package com.boatAnchorAssistant.pojo.param.user;

import javax.validation.constraints.NotNull;
import lombok.Data;
import nirvana.core.domains.param.PageParam;

/**
 * @author Joseph.Li
 * @author joseph.li@king-v.com
 * Created in 2022-07-02 14:51
 *
 * 获取角色的用户关联状况
 */
@Data
public class GetUserListByRoleParam extends PageParam {

    @NotNull(message = "角色id不能为空")
    private Long roleId;

    /**
     * 姓名
     */
    private String name;

    /**
     *  部门id
     */
    private Long departmentId;

    /**
     * 是否绑定
     */
    private Boolean isBind;
}
